package com.yuyou.train.lesson.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.yuyou.train.service.api.lesson.entity.LessonResourceRuleFrame;

@Mapper
public interface LessonResourceRuleFrameMapper {
    int deleteByPrimaryKey(String id);
    
    int deleteByLessonId(String lessonId);

    int insert(LessonResourceRuleFrame record);

    LessonResourceRuleFrame selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(LessonResourceRuleFrame record);
    
    List<LessonResourceRuleFrame> findFrameByQuestionId(String questionId);
    
    List<LessonResourceRuleFrame> findFrameByLessonId(String lessonId);

}